package panda.client.enumerations;

/**
 * Colors for counters.
 * @author zane.tian@gmail.com
 */
public enum Color {
	RED ("Red", 190, 76, 94),		// (191, 0, 31), (163, 0, 26), (108, 0, 17)
	BLUE ("Blue", 76, 140, 168),	// (0, 128, 192), (0, 91, 131), (0, 75, 108)
	GREEN ("Green", 84, 192, 76),	// (13, 191, 0), (11, 166, 0), (9, 131, 0), (7, 108, 0) 
	BLACK ("Black", 0, 0, 0);

	private int red;
	private int green;
	private int blue;
	private String name;
	
	private Color(String name, int red, int green, int blue) {
		this.red = red;
		this.green = green;
		this.blue = blue;
		this.name = name;
	}
	
	public String toString() {
		return "rgb(" + red + ", " + green + ", " + blue + ")";
	}
	
	public String getName() {
		return name;
	}
}